package com.supermap.log.entity;

import com.supermap.tool.DaoTool;

/**
* @ClassName: UserOperationLog 
* @Description: 操作日记 
* @author yuyao
* @date 2018年3月20日 上午9:34:24
 */
public class UserOperationLog {

	private String library; //操作库
	private String list; //操作表
	private String userId; //操作用户ID
	private String userName; //操作用户姓名
	private String address; //用户区域
	private String addressName; //区域名称
	private String logIP;//登录IP
	private String operationExplain; //操作说明

	public UserOperationLog() {
		this.library = DaoTool.rb.getString("api.default.warehouse");
		this.list = "-1";
		this.userId = "-1";
		this.userName = "-1";
		this.address = "-1";
		this.addressName = "-1";
		this.operationExplain = "-1";
		this.logIP = "-1";
	}

	public UserOperationLog(String library, String list, String userId, String userName, String address, String addressName, String logIP, String operationExplain) {
		this.library = library;
		this.list = list;
		this.userId = userId;
		this.userName = userName;
		this.address = address;
		this.addressName = addressName;
		this.logIP = logIP;
		this.operationExplain = operationExplain;
	}

	public String getLibrary() {
		return library;
	}

	public void setLibrary(String library) {
		this.library = library;
	}

	public String getList() {
		return list;
	}

	public void setList(String list) {
		this.list = list;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddressName() {
		return addressName;
	}

	public void setAddressName(String addressName) {
		this.addressName = addressName;
	}

	public String getLogIP() {
		return logIP;
	}

	public void setLogIP(String logIP) {
		this.logIP = logIP;
	}

	public String getOperationExplain() {
		return operationExplain;
	}

	public void setOperationExplain(String operationExplain) {
		this.operationExplain = operationExplain;
	}
}
